<table>
    <thead>
        <tr>
                                <th>Nro</th><th>Cédula</th><th>Apellidos</th><th>Nombres</th>
                                <th>Dirección</th><th>Teléfono</th><th>Celular</th><th>Email</th>
                                <th>Carrera</th><th>Ciclo</th><th>Sección</th><th>Paralelo</th>
                                
                            </tr>
    </thead>
    <tbody>
        <?php
        $cont = 1;
        $sumaTotal = 0;
        $sumaPagado = 0;
        $total = 0;
        $couta_cancel = 0;
        $c1=0;
        $c2=0;
        $c3=0;
        $c4=0;
        
        $out='';
        foreach ($lista as $file) {
            //$couta_cancel = count($file["lista_s"]["lista"]);
            //$recargo = round(($file['tipo_matr'] == 1 ? 0 : ($file['tipo_matr'] == 2 ? ($file["costo_semestre_mat"] * 0.1) : ($file["costo_semestre_mat"] * 0.2) )), 2);
            //$valorbeca = ($file['forma_pago'] == 3 ? $file["costo_semestre_mat"] : ($file['forma_pago'] == 4 ? $file["costo_semestre_mat"] * 0.75 :
             //                       ($file['forma_pago'] == 5 ? $file["costo_semestre_mat"] * 0.5 : ($file['forma_pago'] == 6 ? $file["costo_semestre_mat"] * 0.25 : 0))));
            if($this->utilidades->numeroCiclo($file["nombre_cic"])=='1ro'){
                $out.='<tr>';
                $out.='<td>' . $cont . '</td>';
                $out.='<td>' . $file["cedula_pers"] . '</td>';
                $out.='<td>' . $file["apellido_pers"] . '</td>';
                $out.='<td>' . $file["nombre_pers"] . '</td>';
                $out.='<td>' . $file["direccion_pers"] . '</td>';
                $out.='<td>' . $file["fono_pers"] . '</td>';
                $out.='<td>' . $file["celular_pers"] . '</td>';
                $out.='<td>' . $file["email_inst_pers"] . '</td>';
                $out.='<td>' . $file["nombre_car"] . '</td>';
                $out.='<td>' . $this->utilidades->numeroCiclo($file["nombre_cic"]) . '</td>';
                $seccion = $this->utilidades->secciones($file["seccion"]);
                $out.='<td>' . $seccion["nombre"] . '</td>';
                $out.='<td>' . $file["paralelo"] . '</td>';

                $out.='</tr>';
                $cont++;
            }
        }
        echo $out;
        //$total = $sumaTotal - $sumaPagado;
        ?>
    </tbody>
</table>